<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title></title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="">
  </head>
  <body>
    
  
    <script type="module">
        window.$wsImUrl = "ws://192.168.3.65:45678";
      
        import { webSocket } from './utils/webSocket'
        // 测试wusq
        let a = { a: 1, b:'99999', userId: '7b9d3794a8b841fea87b3fe144cb6976'  };
        //  将用户传递进的数据给保存起来
        // option 包含 wsImUrl
        class ImSunxin {
          constructor() {
            this.option = Object.assign({}, option);
            webSocket( this.option );
          }
          print() {
            return  console.log(this.option);
          }
        }
       
        const im =  new ImSunxin(a);

      
     
    </script>
  </body>
</html>